%p
%hr
%h2 创建客户
%form{:method => 'POST', :action => "/projects/#{@project.id}/get_customer_v2" }
  = hidden_field_tag :authenticity_token, form_authenticity_token
  open_api_token
  = "#{@rds[:open_api_token]}"
  %p
  %input{:type => 'text',:name => 'open_api_token',  :value => @rds[:open_api_token] || "abc"}
  email 
  %input{:type => 'text',:name => 'custome_email',  :value => @rds[:custome_email] || ""}
  nick_name 
  %input{:type => 'text',:name => 'custome_nick_name',  :value => @rds[:custome_nick_name] || "abc"}
  %p
  其它info  
  %input{:type => 'text',:name => 'customer_info',  :value => @rds[:customer_info] || ""}
  other_emails  
  %input{:type => 'text',:name => 'customer_other_emails',  :value => @rds[:customer_other_emails] || ""}
  tags  
  %input{:type => 'text',:name => 'customer_tags',  :value => @rds[:customer_tags] || ""}

  %input{:type => 'submit', :value => '请求'}
%p
= "#{@rds[:customer_id]}"
%p
= "#{@rds[:customer_error]}"
%p
= "#{@rds[:customer]}"
%p
%hr
